<template>
  <div class="content">
    <nav-bar title="Page A" :leftBack="true"></nav-bar>
    <van-tabs v-model="active">
      <van-tab title="XXXX">
        <bill-header ref="billHeader"></bill-header>
      </van-tab>
      <van-tab title="AAA">
        <n-list ref="wgList"></n-list>
      </van-tab>
      <van-tab title="BBB">
        <n-list ref="wwList"></n-list>
      </van-tab>
    </van-tabs>
    <div class="div-h div-bottom">
      <van-button class="btn" type="info" loading-text="加载中...">提 交</van-button>
    </div>
  </div>
</template>
<script>
import NavBar from "../../components/NavBar";
import NJS from "../../../tools/nhjssdk";
import BillHeader from "./components/BillHeader";
import NList from "./components/List";
import api from "../../../tools/api";
import tools from "../../../tools/tools";
import comm from "../../../tools/comm";
import ui from "../../../tools/ui";
import MathUtil from "../../../tools/MathUtil";
export default {
  components: {
    NavBar,
    BillHeader,
    NList
  },
  data() {
    return {
      active: 0,
      deliveryNo: 0,
      reciverList: [],
      tips: "",
      wgList: [],
      wwList: [],
      wwHeader: {}, //委外加工 表头信息
      wwrkInterID: 0 //委外加工入库单内码
    };
  },
  methods: {}
};
</script>
<style scoped>
.div-h {
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}
.div-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
.btn {
  width: 50%;
  font-size: 1rem;
}
.content{
  height: 100%;
}
</style>